

using System;
using System.Collections.Generic;

namespace MCGameEngine.Animations
{
    public class AnimationClip
    {
        IList<Keyframe> keyframesValue;
        TimeSpan durationValue;

        public AnimationClip(TimeSpan duration, IList<Keyframe> keyframes)
        {
            durationValue = duration;
            keyframesValue = keyframes;
        }

        public TimeSpan Duration
        {
            get { return durationValue; }
        }

        public IList<Keyframe> Keyframes
        {
            get { return keyframesValue; }
        }
    }
}
